package com.xqboss.apps.dto.sys;

import com.baomidou.mybatisplus.annotation.TableId;
import com.xqboss.apps.dto.PageDto;
import com.xqboss.apps.enums.sys.SaleableEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Id;

/**
 * @author Administrator
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel("app版本管理Dto")
public class SysAppVersionDto extends PageDto {

    @TableId
    @Id
    private Long id;

    @ApiModelProperty("内部版本号")
    private String versionCode;

    @ApiModelProperty("外部版本号")
    private String versionName;

    @ApiModelProperty("是否上架")
    private SaleableEnum saleable;

    @ApiModelProperty("01安卓，02 iOS")
    private String appCode;
}